package com.gongfutrip.trans.remoting;

import com.gongfutrip.trans.remoting.protocol.RemotingCommand;

import io.netty.channel.ChannelHandlerContext;

public interface NettyRequestProcessor {
  RemotingCommand processRequest(ChannelHandlerContext ctx, RemotingCommand request)
      throws Exception;

  boolean rejectRequest();
}
